package com.jiuzhe.commercial.constant;

import android.os.Environment;

import com.jiuzhe.commercial.bean.HouseStayListBean;
import com.jiuzhe.commercial.bean.UserBean;

import java.util.Date;
import java.util.List;

public class Constants {

    public static  final String HEAD_HOST = "http://47.98.160.254:18080/";   //http://47.98.160.254:18080/ 生产

    public static  final String HEAD_HOST2 = "http://47.98.31.62:18080/";   //http://47.98.160.254:18080/ 测试

     public static  final String HEAD_HOST3 = "http://192.168.0.119:9301/";   //http://47.98.160.254:18080/

     public static  final String HEAD_HOST4 = "http://47.98.31.62:9101/";   //http://47.98.160.254:18080/

     public static final String HOST = HEAD_HOST + "jiuzhehotel/";    //外网  //"http://47.98.31.62:9101/"  //47.98.160.254

    public static final String HOST1 = HEAD_HOST + "jiuzheplatform/";    //外网   //9201

    public static final String HOST2 = HEAD_HOST + "pay/";    //外网   //支付

    public static final String HOST3 = HEAD_HOST + "jiuzhemerchant/";    //外网    //登陆，注册 //"http://192.168.0.119:9301/"

    public static final String APP_FOLD = Environment.getExternalStorageDirectory() + "/jiuzhe/";// app文件目录


    //个人信息
    public static String PHONE = "";// 电话号码

   public static String User_Phone = "User_Phone";// 用户手机号码

    public static final String PFNAME = "config";// sharePreference文件

    //地图marker显示
    public static final String MAP_MARKERS = HOST + "skumanage/skuhotelall";

    //房态列表
    public static final String HOTELSTATE = HOST + "hotelstate";

    //订单
    public static final String ORDER = HOST + "hotelorders/id";

    //获取城市列表
    public static final String CITY = HOST + "region";

    //获取城市列表
    public static final String CITY1 = HOST + "hotelregions";

    //添加房源
    public static final String ADD_ROOM = HOST + "skumanage/skusaving";

    //添加房源
    public static final String ADD_ROOM2 = HOST + "skumanage/imgsaving";

    //编辑房源列表
    public static final String SKUDETAILS = HOST + "skumanage/skudetails";

    //编辑房源列表
    public static final String SKUDETAIL = HOST + "skusearch/skudetail";

    //删除房源
    public static final String SKUDELETING = HOST + "skumanage/skudeleting";

    //删除照片
    public static final String IMGDELETE = HOST + "skumanage/imgdelete";


    //修改 配套设施
    public static final String SKUUPDATING = HOST + "skumanage/skuupdating";

    //删除放盘价
    public static final String DELETESKUPRICE = HOST + "skumanage/deleteskuprice";

    //修改放盘价
    public static final String UPSKUPRICE = HOST + "skumanage/upskuprice";

    //上传编辑房源列表
   public static final String UPALLSKUPRICE = HOST + "skumanage/upAllSkuPrice";

    //修改房间状态
    public static final String DURTYUPDATING = HOST + "skumanage/durtyupdating";

    //添加房源
    public static final String OSS_TOKEN = HOST1 + "osstoken";

    //注册
    public static final String REGISTER = HOST3 + "merchant";

    //获取验证码
    public static final String PHONE_CODE = HOST3 + "merchant/phone/code";

    //登陆获取验证码
    public static final String BOSS_PHONE_CODE = HOST3 + "boss/login/phone";

    //登陆
    public static final String LOGIN = HOST3 + "boss/login";

    //审核资料
    public static final String AUDIT = HOST3 + "merchant/audit/info";

    //审核资料
    public static final String ROOM_DETAIL = HOST + "skumanage/skuhotel";

    //自动登录
    public static final String AUTOLOGIN = HOST3 + "boss/login/autologin";


    //收入明细
    public static final String HOTELORDERS = HOST + "hotelorders/merchantId";

    //
    public static final String COUNT = HOST + "count";


    //帐户金额
    public static final String FACCOUNT = HOST2 + "faccount/info";

   //转帐前生成交易id
    public static final String GENERATEID = HOST2 + "generateId";


 //提现
   public static final String TAKEMONEY = HOST2 + "withdraw";


    //校验老支付密码
    public static final String CHECKPASSWD = HOST2 + "faccount/checkpasswd";

    //更新支付密码
    public static final String UPDATEACCOUNTSPWD = HOST2 + "faccount/updatepasswd";

  //找回支付密码
  public static final String GETBACKPASSWD = HOST2 + "faccount/getbackpasswd";

  //保存支付宝帐号
  public static final String GETSETTLEACCOUNT = HOST2 + "faccount/getsettleaccount/";

  //提现明细收入
  public static final String GETMWITHDRAW = HOST2 + "faccount/getmwithdraw/";

    //得到帐号信息
    public static final String SAVESETTLEACCOUNT = HOST2 + "faccount/savesettleaccount";

    //意见反馈
    public static final String USERFEEDBACK = HOST1 + "userfeedback";

    public static final String GET_LNG_LAT_URL = "http://restapi.amap.com/v3/geocode/geo";



    public static  UserBean.UserDtoBean USERDTOBEAN; //

    //token 值
    public static  String TOKEN = "token"; //

    public static  String REALNAME = "realName"; //


    public static  String MERCHANTID = "merchid"; //

    //id 值
    public static  String ID = "id"; //

    public static List<Date> TIME; //

    public static List<Date> TIME_ROOM; //

    public static  Date TODAY ; //

    //id 值
    public static  String TOTALMONEY; //

    //id 值
    public static HouseStayListBean HOUSESTAYLISTBEAN; //

    public static String PARTKEY ="halfsecret=aHVhbmdodWFuY3NkbjU=";


}
